SECOND AMENDMENT TO fourth AMENDED AND RESTATED credit agreement