The 12-year veteran of the police force met with an undercover officer last month, who he believed was a drug dealer, the criminal complaint said. On two occasions, he agreed to provide security as packages of cocaine were transported, and he was paid in cash per kilogram moved.