Reassign shortcut with variable in it

I made a shortcut with Automator to open a file with VS Code in Finder. But I can’t assign it to the desired keyboard shortcut (command + option + c) because it is already taken by ‘Copy “filename” as Pathname’ shortcut. I can’t reassign in System Preferences -> Keyboard -> Shortcuts -> App Shortcuts because it has a variable name in it. enter image description here