FIFTH AMENDMENT TO AMENDED AND RESTATED CREDIT AGREEMENT AND FIRST AMENDMENT TO EACH OF THE SECURITY AGREEMENT AND THE PLEDGE AGREEMENT