Make the generated scope strings const

R=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//497823004