During the search, a K-9 deputy alerted detectives to 27 grams of cocaine inside a large safe, according to a press release.