The main purpose of this legislation is to clarify and reinforce the prohibition against using members of the Armed Forces, including the National Guard, to enforce immigration laws in the United States. The goal is to ensure that military personnel are not involved in immigration enforcement activities, which is a function typically reserved for civilian law enforcement agencies. Key provisions of the legislation include specific amendments to two titles of the United States Code.