The deputy lied to a judge in a search warrant application to aid his private client's divorce case, prosecutors said.