Facial recognition technology used by Meta to spot scam adverts featuring celebrities is to be introduced in the UK and the EU for the first time.