Replace string literals with constants