AMENDED AND RESTATED GLOBAL CUSTODY AGREEMENT For Foreign and Domestic Securities and Non-Custody Assets