This is solved with humans. Mens Rea is usually required for successful prosecution. A taxi driver who takes a fare to a bank, who then robs the bank, is not prosecuted. A getaway driver is.
To avoid nitpicking, op probably should have said knowingly facilitates, but this is conversation not legislation and 99% of readers probably understood that.