; (2) in paragraph (2), in the matter preceding subparagraph (A), by striking and on the basis of reciprocity ; (3) in paragraph (2)(A)— (A) by inserting —(i) after for the purpose of ; and (B) by striking illicit weapons; or and inserting illicit weapons, or (ii) determining a person’s deportability or eligibility for a visa, admission, or other immigration benefit; ; (4) in paragraph (2)(B)— (A) by striking for the purposes and inserting for one of the purposes ; and (B) by striking or to deny visas to persons who would be inadmissible to the United States. and inserting ; or ; and (5) in paragraph (2), by adding at the end the following: (C) with regard to any or all aliens in the database, specified data elements from each record, if the Secretary of State determines that it is required for national security or public safety and in the national interest to provide such information to a foreign government. . (b) Effective date The amendments made by subsection (a) shall take effect 60 days after the date of the enactment of the Act. 543. Visa interviews (a) In general Section 222(h) of the Immigration and Nationality Act ( 8 U.S.C. 1202(h) ) is amended— (1) in paragraph (1), by adding new subparagraph (D) to read as follows: (D) by the Secretary of State if the Secretary, in his sole and unreviewable discretion, determines that an interview is unnecessary because the alien is ineligible for a visa. . (2) in paragraph (2), by adding at the end a new subparagraph (G) to read as follows: (G) is an individual within a class of aliens that the Secretary of Homeland Security, in his sole and unreviewable discretion, has determined may pose a threat to national security or public safety. . 544. Judicial review of visa revocation Subsection (i) of section 221 of the Immigration and Nationality Act ( 8 U.S.C. 1201(i) ) is amended— (1) by inserting (1) after (i)