Moved initialization of a static map to the static initialization block (#12270)

Change-Id: I82c77edf5c17c712350cb64831b305b4c8363cf7