Cal. Penal Code § 629.86
Any person whose wire or electronic communication is intercepted, disclosed, or used in violation of this chapter shall have the following remedies:
(b) Be entitled to recover, in that action, all of the following:
(3) Reasonable attorney’s fees and other litigation costs reasonably incurred.
A good faith reliance on a court order is a complete defense to any civil or criminal action brought under this chapter, or under Chapter 1.5 (commencing with Section 630) or any other law.