CUSTODY AGREEMENT by and between TCW FUNDS, INC. and THE BANK OF NEW YORK MELLON