A code in this sense is something different. It's a shorthand for a longer description of an object. It'd be like a hotel copyrighting the relationship between a room number and its physical location within the building, or copyrighting resistor colors.