Which sentence uses the passive voice?

AThe tree was planted by Mary.
BJohn searched for a job.
CLies destroy friendship.
DThe rain continued until dawn.