Turned out that my script was using a custom function to grab the GET parameters via the $_REQUEST object, which was being nullified by wordpress.
I used the following code to grab it instead.
global $wp_query;$wp_query->query_vars['cc'];