U.S. $400,000,000 AMENDED AND RESTATED MASTER REPURCHASE AND SECURITIES CONTRACT by and between RCC REAL ESTATE SPE 4, LLC, as Seller and WELLS FARGO BANK, NATIONAL ASSOCIATION, as Buyer Amended and Restated as of July 19, 2018