AMENDED AND RESTATED MASTER CUSTODIAN AGREEMENT Dated as of October 17, 2008