Heavy quark distribution function in QCD and the AC2M2 model