SEC. 222. PROTECTING IMMIGRANTS FROM CONVICTED SEX OFFENDERS. (a) Immigrants- Section 204(a)(1) (8 U.S.C. 1154(a)(1)), is amended--
(1) in subparagraph (A), by amending clause (viii) to read as follows: '(viii) Clause (i) shall not apply to a citizen of the United States who has been convicted of an offense described in subparagraph (A), (I), or (K) of section 101(a)(43), unless the Secretary of Homeland Security, in the Secretary's sole and unreviewable discretion, determines that the citizen poses no risk to the alien with respect to whom a petition described in clause (i) is filed.'; and
(2) in subparagraph (B)(i), by amending subclause (II) to read as follows: '(II) Subclause (I) shall not apply in the case of an alien admitted for permanent residence who has been convicted of an offense described in subparagraph (A), (I), or (K) of section 101(a)(43), unless the Secretary of Homeland Security, in the Secretary's sole and unreviewable discretion, determines that the alien lawfully admitted for permanent residence poses no risk to the alien with respect to whom a petition described in subclause (I) is filed.'.
(b) Nonimmigrants- Section 101(a)(15)(K) (8 U.S.C. 1101(a)(15)(K)), is amended by inserting '(other than a citizen described in section 204(a)(1)(A)(viii))' after 'citizen of the United States' each place that phrase appears.