MASTER SECURITY AGREEMENT dated as of May 17, 2005 (“Agreement”)