Under the Massachusetts Democrat 's plan , the fund would get a cash infusion from a charge on government-sponsored mortgage companies Fannie Mae and Freddie Mac as well as from a new fee structure for the FHA .