I changed this code to call make_usage_key instead.