TERM LOAN AND SECURITY AGREEMENT Dated as of June 28, 2018