A social worker is treating a client in a custody battle with his ex-wife. The social worker receives a subpoena for client's records from the wife's lawyer. The social worker should first:
A) Immediately provide the requested records to the wife's lawyer without hesitation.
B) Consult with the client about the subpoena and discuss potential implications.
C) Contact the ex-wife's lawyer to inquire about the purpose of the subpoena.
D) Seek legal advice from the social worker's supervisor before taking any action.