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