The prince and Bon Jovi spoke briefly outside the north London building where the Beatles recorded 11 of their 13 albums before heading inside.