The main purpose of this legislation is to protect the privacy of individuals by prohibiting the use of facial recognition mobile phone applications outside designated entry points, such as airports and border crossings. It aims to ensure that sensitive biometric data, like images and fingerprints, are not collected or stored unnecessarily by government agencies. Key provisions of the legislation include the requirement for the Secretary of Homeland Security to create standards and guidelines within 30 days of the law's enactment.