The purpose of this legislation, known as the "ICE Out of Our Faces Act," is to limit the use of facial recognition and other biometric surveillance technologies by the Department of Homeland Security, specifically targeting immigration enforcement agencies like U.S. Customs and Border Protection and U.S. Immigration and Customs Enforcement. The main objective is to protect individuals' privacy rights and prevent potential misuse of these technologies in immigration enforcement.