Anthropic and OpenAI offer indemnity for this situation for their enterprise customers if such a suit were to happen. They will defend you and cover costs.