The four-year plan submitted as part of its acquisition of E-Trade includes grants to community development organizations and support for uniform vendor diversity standards.
The central bank said it had miscalculated the loss rates for certain public welfare investments, which led to incorrect capital requirements for the two companies.
The New York bank has also joined a steering committee helping to develop a global accounting standard that financial institutions can use to measure their impact on global warming.
Banks paid out nearly twice as much as they earned in the first quarter; Marilyn Booker, a managing director, said she was fired in December for pushing too hard on a diversity plan.
As they prepare to exit government conservatorship, Fannie Mae and Freddie Mac have enlisted the investment banks to help them boost capital and evaluate market opportunities.
Small businesses that took out the loans will soon be applying for forgiveness; U.S. Secretary of State Pompeo and one of HSBC's large investors criticized the bank for buckling to Chinese pressure.
Despite record low mortgage rates, borrowers are having trouble getting loans from wary lenders; the underperforming American unit may be ditched in U.K. bank restructuring.