Here are two examples of anti-lgbt legislation obviously not affecting aces!
Conversion therapy - where conversion therapy for LGBT people is legal, conversion therapy for aces is legal. Conversion therapy is harmful.
e.g. - drugs that barely work (0.5% higher than placebo!), barely passed FDA approval, and cause dangerous side effects marketed to cure lack of sexual attraction. (flibanserin, if you want to look it up)
Legal discrimination - in Russia, it is illegal for someone with a “disorder of sexual preference” to get a driver's license. This includes gay, trans, bi, and ace people. (asexuality is defined as a sexual disorder in the DSM-V, which is rather liberal on LGBT issues for a psychiatric manual, so I highly doubt Russia would be more liberal and say that actually, asexuality is not a disorder)
You may argue that these are just incidental, or due to misplaced homophobia, or due to a push from aces to be seen as lgbt (doubtful bc they are both based on various governing bodies accepting the DSM-V definition of asexuality as a disorder) but they are examples of anti-lgbt legislation that also negatively affect aces. However, I don’t know if the distinction of cause is necessary to say that aces are affected by anti-lgbt legislation. The ‘cause’ is the belief that non-standard sexual orientations are harmful, or disorders, or need to be cured. You can argue that it’s not aphobia if you like, but it is an example of aces being discriminated against due to anti-lgbt mindsets.