The main purpose of this legislation is to enhance access to mental health services for seniors enrolled in the Medicare program. It aims to ensure that older adults receive the mental health care they need, particularly in skilled nursing facilities. Key provisions of the legislation include the removal of restrictions that previously limited access to clinical social worker services in skilled nursing facilities. Specifically, it allows these services to be included in the Medicare payment system, which means that Medicare will cover them.