The main purpose of this legislation, known as the Homeland Heroes Pay Act, is to ensure that certain employees of U.S. Customs and Border Protection (CBP) and U.S. Immigration and Customs Enforcement (ICE) continue to receive their salaries and expenses during any government funding lapses. This is particularly important for employees who perform critical functions related to national security and immigration enforcement. Key provisions of the Act include the appropriation of necessary funds from the U.S. Treasury to cover salaries and expenses for specific CBP and ICE personnel.