Solicitor wins High Court injunction stopping former lover going public