AMENDED AND RESTATED TRUST AGREEMENT between AFS SENSUB CORP. Seller and WILMINGTON TRUST COMPANY Owner Trustee Dated as of July 19, 2023