Depending on your PCP, they may be able to prescribe you benzos for your panic attacks. If they’re cool and you tell them that you have them semi-regularly (you don’t need to say that you have an exact cause) and that they are impacting your life in some way (school, work, etc.), then they should be comfortable with the prescription.
Looks like you need to add a cognitive test to your next physical