The pop star was granted a temporary restraining order against a man she says has been stalking her for more than a month.