ohhh gavio i need to change every letter by another one

i have a replacement letter for each alphabetical letter

for example if the word was (Yes)
then
replase Y with n
replase e with o
replase s with t
so it will become (not)

and so on for all letters


this proceduer should be applied in all cases execpt if the word was (code) then it should be left as it is