of a foreign government that is an adversary of the United States, such as the Government of the People’s Republic of China or the Government of the Russian Federation, to prevent the exploitation of specialized United States military competencies and capabilities by those governments. (c) Prohibition Section 207 of title 18, United States Code, is amended by adding at the end the following new subsection: (m) Prohibition on certain members and former members of the Armed Forces accepting employment with designated foreign government entities (1) In general Any person who is a member or former member of the Armed Forces, who at any time occupied a covered position, and who, on or after the date of the enactment of this subsection, knowingly accepts employment for or occupies a position with a designated entity, shall be punished as provided in section 216(a)(2) of this title. (2) Temporary waiver for former members of the Armed Forces (A) In general On a case-by-case basis, the Secretary of Defense may temporarily waive the restriction under paragraph (1), and may renew any such waiver, with respect to a former member of the Armed Forces only after— (i) the former member submits to the Secretary a written application for such waiver or renewal in such form and manner as the Secretary shall prescribe