Instead of downgrading back to 2.0.0, you could do exactly what is suggested in the error message and add this dependency to build.gradle:
build.gradle
runtimeOnly("org.jetbrains.kotlin:kotlinx-metadata-jvm:0.9.0")