; and (B) use any evidence detected by means of audits and evaluations for purposes of investigating, prosecuting, referring for prosecution, or denying or terminating immigration benefits. (4) Privacy and civil liberties (A) In general The Secretary, in accordance with paragraph (1), shall require appropriate administrative and physical safeguards to protect the security, confidentiality, and integrity of personally identifiable information collected, maintained, and disseminated pursuant to this section and section 245B of the Immigration and Nationality Act, as added by section 102. (B) Assessments Notwithstanding the privacy requirements set forth in section 222 of the Homeland Security Act ( 6 U.S.C. 142 ) and the E-Government Act of 2002 ( Public Law 107–347 ), the Secretary shall conduct a privacy impact assessment and a civil liberties impact assessment of the legalization program established under this section and section 245B of the Immigration and Nationality Act during the pendency of the final regulations to be issued pursuant to subsection (j). (j) Rulemaking Not later than 1 year after the date of the enactment of this Act, the Secretary shall issue final regulations to implement this section. 102. Adjustment to permanent resident status (a) In general Chapter 5 of title II ( 8 U.S.C. 1255 et seq.) is amended by inserting after section 245A the following: 245B. Adjustment to permanent resident status for agricultural workers (a) In general Except as provided in subsection (b), and not earlier than 5 years after the date of the enactment of the Agricultural Worker Program Act of 2017 , the Secretary shall adjust the status of an alien granted blue card status to that of an alien lawfully admitted for permanent residence if the Secretary determines that the following requirements are satisfied: (1) Qualifying employment Except as provided in paragraph (3), the alien— (A) during the 8-year period beginning on the date of the enactment of the Agricultural Worker Program Act of 2017 , performed not less