The recipient of the s 172 notice (inevitably the registered keeper) will be prosecuted. Assuming they are the person keeping the vehicle, they have a defence if they can prove (on the balance of probabilities) that they did not know who the driver was and could not identify them after exercising reasonable diligence. It’s not an easy defence but you’ve given us no details so hard to say.