A bipartisan group of senators has introduced legislation aimed at preventing an impending shortfall in Social Security.