Amenamevir can lower the amount of midazolam in your blood, because midazolam is broken down by CYP3A4.
These medicines are often taken together with some care. Your doctor may change a dose, space them apart or check on you more often. Make sure your doctor and pharmacist know you take both.