Notwithstanding Section 2018.040, when a lawyer is suspected of knowingly participating in a crime or fraud, there is no protection of work product under this chapter in any official investigation by a law enforcement agency or proceeding or action brought by a public prosecutor in the name of the people of the State of California if the services of the lawyer were sought or obtained to enable or aid anyone to commit or plan to commit a crime or fraud.
Ca. Civ. Proc. Code § 2018.050