what is the role called when the prince is the person the guards go to about problems?

The role is called the "liaison officer" or "point of contact."