Peter Mandelson helped Andrew Mountbatten-Windsor get the trade envoy job he is now being investigated over, a royal author said.