AMENDED AND RESTATED SENIOR SECURED REVOLVING CREDIT AGREEMENT dated as of November 19, 2018 between APOLLO INVESTMENT CORPORATION The LENDERS Party Hereto JPMORGAN CHASE BANK, N.A. as Administrative Agent SUNTRUST BANK BANK OF MONTREAL as Syndication Agents