security Deposit Not Returned: California situation

I publish illustrative scenarios prepared by my practice. All participants and conversations are fictional. The fictional posts are not posts by real users, accounts of client experiences, or reports of actual results.
Illustrative scenario prepared by my practice.
For informational purposes only. This is not legal advice. Laws vary by jurisdiction. Consult a qualified attorney for advice specific to your situation.
Hypothetical question

I'm in a difficult situation in California and trying to figure out my next steps.

title issue discovered after closing. I've been dealing with this for about 14 months now and the situation isn't improving.

I have been in this property for 7 years. My monthly rent is $2,973. I have a written lease.

Has anyone been through something similar? What worked for you?