Drug homicide plea entered ahead of trial