(f) a former state employee whose salary was not less than that in step one of job group M-VII in the management salary schedule in section forty-six C of chapter thirty, and who becomes an officer or employee of a business organization which is or was a party to any privatization contract as defined in section fifty-three of chapter seven in which contract he participated as such state employee, if he becomes such officer or employee while the business organization is such a party or within one year after he terminates his state employment, unless before the termination of his state employment the governor determines, in a writing filed with the state ethics commission, that such participation did not significantly affect the terms or implementation of such contract, shall be punished by a fine of not more than $10,000, or by imprisonment in the state prison for not more than 5 years, or in a jail or house of correction for not more than 2 1/2 years, or both. If a partner of a member of the general court or of a special state employee or of a former state employee is also a member of another partnership in which the member of the general court or special or former employee has no interest, the activities of the latter partnership in which the member of the general court or special or former employee takes no part shall not thereby be subject to clause (c) or (d).
This section shall not prevent a present or former special state employee from aiding or assisting another person for compensation in the performance of work under a contract with or for the benefit of the commonwealth; provided, that the head of the special state employee's department or agency has certified in writing that the interest of the commonwealth requires such aid or assistance and the certification has been filed with the state ethics commission.