If I'm interpreting your goal correctly, the method you're looking for is getPropertyMap
:
getComponent("cc2").getPropertyMap().put("stringDataSrc", newValue);
This should update the property value that is referenced within that Custom Control (via compositeData
) to return the new value instead.