When files are vendored into the standard library, such as the
golang.org/x/crypto/cryptobyte package, all references to that package
from the standard library will refer to the vendored copy. If you
want to change references from the standard library, you will need to
modify the standard library sources. This of course means that you
must be using a custom Go distribution. There is currently no way to
tell the standard library to use a different version of a vendored
package. A mechanism for supporting that is
https://go.dev/issue/30241.
Ian