This part here could be updated to `JPluginHelper::getLayoutPath('twofactorauth', 'yubikey', 'form')` without issue.