Replace the value in column with respect to other two columns values

We can use chartr. Create the old and new arguments for chartr by pasteing the key/value columns i.e. 'A' and 'B' and use x as the 'C' column to replace the substring in 'C' that matches with 'A' to that of 'B'