FOURTH AMENDMENT TO SECOND AMENDED AND RESTATED REVOLVING CREDIT AND TERM LOAN AGREEMENT