AMENDED AND RESTATED TRUST AGREEMENT between AFS FUNDING TRUST Seller and WILMINGTON TRUST COMPANY Owner Trustee Dated as of October 26, 2004