The lawsuit attracted amicus briefs from the Mortgage Bankers Association and the National Consumer Law Center.