SECOND AMENDMENT TO THIRD AMENDED AND RESTATED CREDIT AGREEMENT