Notwithstanding the provisions of §§ 12-404, 12-405(a), and 12-411 of this subtitle, a lender may impose and collect, as a condition of making a loan, all fees, discounts, points, or other charges that lenders are permitted or required to impose, collect, or pay pursuant to a federal law providing for a program of mortgage purchases or loans originated pursuant to a State or local governmental program of direct lending or mortgage purchase, or by any federal agency or instrumentality or subsidiary thereof, including but not limited to the Government National Mortgage Association, the Federal National Mortgage Association, the Federal Home Loan Mortgage Corporation, the Federal Reserve Bank, the Federal Home Loan Bank, and the Farmers Home Administration, if the following conditions are met:
Md. Code, CL § 12-404.1