AMENDED AND RESTATED SECOND AMENDMENT TO FIRST AMENDED AND RESTATED CREDIT AGREEMENT AND CONSENT