The law would amend the Social Security Act, which governs both Medicare and Medicaid.