How would they know someone is a sex worker? Surely any database of such is not publicly accessible, even by banks?
As a consequence of banks effectively being responsible for enforcing some laws, they are required to know where their customers' money comes from. They present new customers with a very long list of questions, including what your profession is.
I guess that means that banks, in a way, have a database of sex workers.