An NHS trust is investigating claims that healthcare staff illegally accessed medical records belonging to the Nottingham attack victims.