AGREEMENT AND SECOND AMENDMENT TO SECOND AMENDED AND RESTATED CREDIT AGREEMENT