AMENDED AND RESTATED SECURITY AGREEMENT (Prospect Medical Systems, Inc.)