The Metropolitan Police carried out searches in Scotland as part of an investigation into national security.