AMENDED AND RESTATED TRUST AGREEMENT dated as of October 1, 1999