Also education. No court or attorney is going to demand payment of any fines or bail in gift cards or send a courier to pick up cash.
High schools should teach how to spot a scam. As others have observed, this is not a new one, it's just gotten more high-tech and convincing. This is one of many practical things our schools should teach about that they just don't.