You can check at the San Mateo County recording office to see if there is a change in ownership of the property.
Or you can give me the address and I look it up for you.
You should continue to pay rent to the current owner, otherwise he / she (if they still own the property)
has the right to evict you.
Regarding the security deposit, if the original can keep the house, you should get it back from him,
however, if it becomes a bank owned property, it become a grey area, most likely you won't be able
to get it in that case.