Libero:
Immediately before using any move (except Struggle), a Pokémon with Libero as its Ability will change its type to be the same type as the move it is using. Libero always causes the user to become a single-type Pokémon.
Because Libero activates prior to executing a move, the user will receive same-type attack bonus on every move it uses (except Struggle) regardless of the move's type and will always hit with the move Toxic.
Protean:
Immediately before using any move (except Struggle), a Pokémon with Protean as its Ability will change its type to be the same type as the move it is using. Protean always causes the user to become a single-type Pokémon.
Because Protean activates prior to executing a move, the user will receive same-type attack bonus on every move it uses (except Struggle) regardless of the move's type, and will always hit with the move Toxic.
Hence, both are same, and have the same mechanics. Also, Protean doesn't exist in Gen 8, and vice versa for Libero, only case would be in National Dex.
Source: Bulbapedia
Hope this helps!