The legislation would allow caregivers to receive up to five years of deemed wages for Social Security benefit calculations.