Metamask/Trust Wallet are using your wallet (public) addresses.
Depending on what network you are in, you can use our blockchain API importers.
This could be done via our different Blockchain Importers:
If you are on Ethereum Mainnet you may use this importer.
If you are on BSC use this importer.
If you are on BNB please use this importer.
You may read more about it here: ETH Wallet API
A direct CSV importer for both wallets are not available yet.
Here is described how to find your public address in your Metamask wallet.
We also created a video on how to import your Trust Wallet and do your taxes with CoinTracking: