SECURED NOTE AGREEMENT among GENERAL MOTORS COMPANY, as the Issuer, THE GUARANTORS and UAW RETIREE MEDICAL BENEFITS TRUST, as the Noteholder Dated as of July 10, 2009