FOURTH AMENDED AND RESTATED CREDIT AGREEMENT