Former national security adviser Sir Stephen Lovegrove will review protection for people in public life, including locally elected representatives.