There is a (less safe) workaround as I described here:
https://stackoverflow.com/a/79763924/3809202
In your case it would work the following way, VB,NET-callers may also have to apply the Obsolete attribute:
<Obsolete("Allow ref structs", False)>
Public Sub GetData(data As System.Span(Of Byte))
...
End Sub