The main purpose of this legislation is to prevent individuals from foreign nations that are considered adversarial to the United States from entering into or enforcing surrogacy contracts within the country. The law aims to address concerns about the exploitation of American women and potential national security threats that arise from these arrangements. Key provisions of the law include the invalidation of surrogacy agreements between surrogate mothers in the U.S. and prospective parents from foreign adversarial nations.