I'm sure there are others on this forum more qualified to answer this, but my understanding is that they are both Business booking codes. 'C' is full fare bucket, whereas 'D' is a discounted bucket. RTW itineraries are typically booked into D class, such as DONE4 etc.
As far as onboard service and the earning of miles, there should be no difference. You're still in Business class both ways.