If the employee continues to work, the former operator should transfer the deposit to the current operator.
Additionally, there is no such thing as a legal person in a self-employed person, a business or a company is called a legal representative, and a self-employed person is called an operator.