The main purpose of this legislation, called the Home Equity Lending Integrity Act, is to update the Truth in Lending Act to include home equity investment loans in the definition of residential mortgage loans. This change aims to enhance consumer protection and ensure that these types of loans are subject to the same regulations as traditional residential mortgages. Key provisions of the Act include a clear definition of what constitutes a home equity investment loan.