EXECUTION VERSION SECOND AMENDED AND RESTATED CREDIT AGREEMENT dated as of October 7, 2005,