The prime minister has asked the Australian golf legend for advice on working with his friend, the US President.