; (II) relief as a victim of trafficking under section 101(a)(15)(T); (III) relief as a victim of criminal activity under section 101(a)(15)(U); (IV) relief as a VAWA self-petitioner; (V) relief as a battered spouse or child under section 240A(b)(2); (VI) withholding of removal under section 241(b)(3); or (VII) protection from removal based on a claim under the Convention Against Torture and Other Cruel, Inhuman or Degrading Treatment or Punishment, done at New York, December 10, 1984. (ii) Exception The Secretary may, in the Secretary's sole and unreviewable discretion, determine that a nonimmigrant is not subject to clause (i) if— (I) the alien was lawfully admitted to the United States as a nonimmigrant; (II) the alien filed a nonfrivolous application for change of status to another nonimmigrant category or extension of stay before the date of expiration of the alien's authorized period of stay as a nonimmigrant; (III) the alien has not been employed without authorization in the United States, before, or during pendency of the application; (IV) the alien has not otherwise violated the terms of the alien's nonimmigrant status; and (V) the Secretary, in the Secretary's sole and unreviewable discretion, determines that the alien is not a threat to national security or public safety. (iii) Good cause defined For purposes of clause (i), the term good cause means exigent humanitarian circumstances, such as medical emergencies or force majeure. . (b) Issuance of nonimmigrant visas Section 221(a) of the Immigration and Nationality Act ( 8 U.S.C. 1201(a) ) is amended by adding at the end the following: (3) The Secretary of State shall ensure that every application for a nonimmigrant visa includes an acknowledgment, executed by the alien under penalty of perjury, confirming that the alien— (A) has been notified of the terms and conditions of the nonimmigrant visa, including the waiver of rights under subsection (j)