AMENDED AND RESTATED TERM LOAN AGREEMENT Dated as of May 31, 2019