The issue here is that this is Firebase Google Services dependency, so we need to add the Google Services dependencies first:
implementation("com.google.android.gms:play-services-vision:20.0.0")