AMENDED AND RESTATED SALE AND CONTRIBUTION AGREEMENT among HPS Corporate Lending Fund, as Seller, HLEND CLO 2023-1 Investments, LLC, as Intermediate Seller and HLEND CLO 2023-1, LLC as Purchaser Dated as of October 5, 2023