The context of those two different jobs is readily understood from whether there is a space on either side.
Has anyone ever been confused by the use of a hyphen when an em-dash was correct? No. Never. So, this is a fictional concern, meant only for the “well ackshully” people