Data-driven Analysis of Heavy Quark Transport in Ultra-relativistic Heavy-ion Collisions