; (2) in subsection (c)(2)(B)— (A) in clause (i), by striking , or at the end and inserting a semicolon; (B) in clause (ii), by striking the period and inserting ; or ; and (C) by adding at the end the following: (iii) the alien is, or at any time has been, described in section 212(a)(2)(J) or 237(a)(2)(G). ; and (3) in subsection (d)— (A) by striking paragraph (3); and (B) in paragraph (4), by adding at the end the following: The Secretary of Homeland Security may detain an alien provided temporary protected status under this section whenever appropriate under any other provision of law. . (h) Special immigrant juvenile visas Section 101(a)(27)(J)(iii) of the Immigration and Nationality Act ( 8 U.S.C. 1101(a)(27)(J)(iii) ) is amended— (1) in subclause (I), by striking and at the end; (2) in subclause (II), by adding and at the end; and (3) by adding at the end the following: (III) no alien who is, or at any time has been, described in section 212(a)(2)(J) or 237(a)(2)(G) shall be eligible for any immigration benefit under this subparagraph; . (i) Parole An alien described in section 212(a)(2)(J) of the Immigration and Nationality Act, as added by subsection (b), shall not be eligible for parole under section 212(d)(5)(A) of such Act unless— (1) the alien is assisting or has assisted the United States Government in a law enforcement matter, including a criminal investigation; and (2) the alien’s presence in the United States is required by the Government with respect to such assistance. (j) Effective date The amendments made by this section shall take effect on the date of the enactment of this Act and shall apply to acts that occur before, on, or after the date of the enactment of this Act.