A measure to repeal long-standing policies that denied millions of people access to their social security benefits was signed into law.