The legislation , approved by a 46-21 vote , would provide an infusion of capital and new mandate for the Federal Housing Administration to backstop home loans that have sunk in value since they were written .