CONSENT AND NINTH AMENDMENT TO LOAN AND SECURITY AGREEMENT