Text this: Measurement of the D0 Meson Production in Pb–Pb and p–Pb Collisions