In the settlement, the nation's five largest mortgage lenders --Bank of America, Wells Fargo, J.P. Morgan Chase, Citigroup and Ally Financial -- agreed to pay $5 billion in fines and committed to roughly $20 billion more in refinancing and mortgage modifications for borrowers.