CB-6579 - update deprecation to use CDV_DEPRECATED macro