SECOND AMENDED AND RESTATED SECURED CREDIT AGREEMENT among GENERAL MOTORS COMPANY, as the Initial Borrower, THE GUARANTORS and THE UNITED STATES DEPARTMENT OF THE TREASURY, as the Lender Dated as of August 12, 2009