Heavy quark dynamics via Gribov-Zwanziger approach