I agree. Get an attorney. You did not consent to a search and the dog did not hit on the vehicle. There is no way the cop could have smelled pot. If that can be proven in court, it was an illegal search and everything gets thrown out except for the traffic infraction.