Of course it’s a big deal, but what routine would you advise to prevent, or at least minimize these two injuries
All
good strength coaches understand mechanics of how the knees work and how to properly train them.
An overdevelopment of the quads (knee extension over flexion) beyond 3:2 ratio can contribute to knee instability. Ex: If you can do leg extensions with 4x more weight than you can leg curl, there is an imbalance there.
A lack of hamstring development (particularly knee-flexion, not hip extension) can contribute to knee instability.
A preference for training players in the sagittal plane can contribute to knee instability - athletes do not move only forward and back; there should be a lot of training in the frontal and rotational planes (lateral lunges, bounds, training planting, etc.).
A poorly developed VMO (teardrop of the quads) can contribute to knee instability.
All of this stuff is typically addressed before the season starts as the strength coach lays out the training program.
Not all injuries can be prevented, but multiple top players in the same position being out with the same non-contact injury can be attributed to the strength coach.