A woman used identification with real people's names but her photos to set up bank accounts and receive money stolen by invoice scammers, a judge has heard.