SECOND AMENDED AND RESTATED CREDIT AGREEMENT dated as of December 15, 2006