Backward compatiblity about getInstanceGuid().
(cherry picked from commit ae9f790de75373fbe2d18e2cbd28a1a02c62ad71)