AMENDED AND RESTATED MASTER REPURCHASE AGREEMENT among HPFC SUB 1 LLC (“Seller”) HOME POINT FINANCIAL CORPORATION (“Guarantor”) and GOLDMAN SACHS BANK USA (“Buyer”) dated as of June 30, 2021