The main purpose of this legislation is to protect the privacy of individuals who have records with the Department of Housing and Urban Development (HUD) by preventing the disclosure of these records for immigration enforcement purposes. The goal is to ensure that individuals feel safe accessing housing assistance and services without fear that their information will be used against them in immigration matters. Key provisions of the legislation include a strict prohibition on the Secretary of HUD disclosing any records related to individuals for immigration enforcement.