The main purpose of this legislation is to prohibit marriages between individuals who are closely related by blood, specifically those who are related to the degree of first cousins. The objective is to prevent consanguineous marriages, which can lead to increased risks of genetic disorders in offspring due to shared genetic material. Key provisions of the legislation include an amendment to existing federal law that defines who can legally marry.