SECOND AMENDED AND RESTATED CREDIT AGREEMENT Dated as of October 19, 2007